if (private->outstanding_moves)
{
- g_list_foreach (private->outstanding_moves, gdk_window_region_move_free, NULL);
+ g_list_foreach (private->outstanding_moves, (GFunc)gdk_window_region_move_free, NULL);
g_list_free (private->outstanding_moves);
private->outstanding_moves = NULL;
}
/* Make this reentrancy safe for expose handlers freeing windows */
children = g_list_copy (private->children);
- g_list_foreach (children, g_object_ref, NULL);
+ g_list_foreach (children, (GFunc)g_object_ref, NULL);
/* Iterate over children, starting at topmost */
for (l = children; l != NULL; l = l->next)
gdk_region_destroy (child_region);
}
- g_list_foreach (children, g_object_unref, NULL);
+ g_list_foreach (children, (GFunc)g_object_unref, NULL);
g_list_free (children);
if (!gdk_region_empty (expose_region))